package com.topscomm.meet;

import com.topscomm.base.pojo.BaseRemindTaskEntity;
import com.topscomm.mis.IMisService;
import com.topscomm.pub.util.StringBufferProxy;

import java.util.Date;
import java.util.Map;
import java.util.function.UnaryOperator;

public interface IMeetService<T, TDao> extends IMisService<T, TDao> {
    /**
     * @Description: 转pdf后下载模板文件
     * @Author: mengmeng
     * @Date: 2021/8/16 14:14
     * @Version: 1.0
     */
    Map<String, Object> executeDownload(Map<String, Object> paraMap);

    /**
     * 用来处理重复拼串
     * @param
     * @return
     * @throws
     * @author xinfushuo
     * @date 2022/11/24
     * @modify
     */
    StringBufferProxy appendSql(Map<String, Object> paraMap, StringBufferProxy sql, String paramName, String template, UnaryOperator<String> handleParam);

    /**
      * 将pojo转换为map
      * @author xinfushuo
      * @param
      * @throws
      * @return
      * @date 2023/3/17
      * @modify
      */
    Map<String,Object> convertToMap(Object object);
    /**
     * @description: 生成消息任务对象
     * @author: chengengwei
     * @date: 2021-02-24
     * @modify:
     */
    BaseRemindTaskEntity createRemindTaskEntity(String sourceAction, String sourceid, String sourcetype, String subject, String content, Date remindtime, String usercode, String username);
}
